package org.jeecg.modules.demo.parent.service.impl;

import org.jeecg.modules.demo.parent.entity.DemoFieldDefValSub;
import org.jeecg.modules.demo.parent.mapper.DemoFieldDefValSubMapper;
import org.jeecg.modules.demo.parent.service.IDemoFieldDefValSubService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 示例：控件默认值（子表）
 * @Author: jeecg-boot
 * @Date:   2020-05-20
 * @Version: V1.0
 */
@Service
public class DemoFieldDefValSubServiceImpl extends ServiceImpl<DemoFieldDefValSubMapper, DemoFieldDefValSub> implements IDemoFieldDefValSubService {
	
	@Autowired
	private DemoFieldDefValSubMapper demoFieldDefValSubMapper;
	
	@Override
	public List<DemoFieldDefValSub> selectByMainId(String mainId) {
		return demoFieldDefValSubMapper.selectByMainId(mainId);
	}
}
